package com.atguigu.tingshu.account.service;

import com.atguigu.tingshu.model.account.UserAccount;
import com.baomidou.mybatisplus.extension.service.IService;

public interface UserAccountService extends IService<UserAccount> {

  /**
   * 初始化账户
   * @param userId
   */
  void initUserAccount(Long userId);

  /**
   * 记录消费
   * @param orderNo
   */
  void insertUserAccountDetail(String orderNo);
}
